* {
    margin: 0;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

/* 背景图片 */
body {
    width: 100%;
    height: 100%;
    /* background: repeating-linear-gradient(to bottom, #ff0, #0f0); */
    background-image: url(../imgs/imgs7.jpeg);
}

.center {
    /* 如果用固定定位，那么就会出现页面滚动不下来 */
    position: relative;
    /* top: -450px; */
    width: 100%;
    /* 暴力输出 */
    height: 100vh;
    background: url(../imgs/imgs6.jpeg) no-repeat;
    background-size: cover;
}



/* 右边导航栏 */
.nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    background-color: rgba(178, 171, 152, .5);
    z-index: 1;
    /* background-color: transparent; */
}

.nav a {
    width: 86px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    margin-left: 15px;
    color: black;
    font-size: 20px;
    /* transition: all 1s ease-in-out; */
    transition: first 1s ease-in-out;

}

.nav a:hover {
    /* background-color: rgba(232, 155, 13, .5); */
    width: 86px;
    height: 50px;
    border-bottom: 2px solid rgba(243, 233, 206, .3);
}


.active {
    font-family: 'webfont';
}

/* 使最后一个功能左移点 */
.activey {
    margin-right: 50px;
}

/* 顶部导航栏小图标 */
.nav a .icon-sousuo {
    margin-right: 10px;
}

.nav a .icon-shezhi {
    margin-right: 10px;
}

.nav a .icon-guanyu {
    margin-right: 10px;
}

/* 名著 */
.novel {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 350px;
}

.novel p {
    width: 650px;
    height: 200px;
    line-height: 100px;
    background-color: rgba(202, 184, 184, 0.3);
    text-align: center;
    font-size: 25px;
    backdrop-filter: saturate(180%) blur(2px);
    border-radius: 15px;
    user-select: none;
    font-family: 'webfont';
    font-size: 30px;
}

/* 往下滑 */
.xiahua i {
    font-size: 100px;
    color: rgba(255, 255, 255, .4);
    cursor: pointer;

}

.xiahua {
    display: block;
    width: 50px;
    height: 50px;
    margin: 55px auto auto auto;
    animation: mymove 1.2s infinite;
}

/* 图标动画效果 */
@keyframes mymove {
    0% {
        transform: translate(0px, 0px);
    }

    50% {
        transform: translate(0px, -30px);
    }

    100% {
        transform: translate(0px, 0px);
    }

}

/* 真正主页面 */
.capital {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 135px;
    margin-top: 16px;
    /* background-image: url(../imgs/imgs4.jpeg) no-repeat;
    background-size: cover; */
    /* background: repeating-linear-gradient(to bottom, #ff0, #0f0); */
}

/* 左大部分 */
.big-left {
    width: 300px;
    height: 1000px;
    /* background-color: #28C445; */
}

.capital-people {
    width: 300px;
    height: 400px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(143, 137, 137, 0.8);
    backdrop-filter: saturate(180%) blur(5px);
}

/* 用户头像 */
.capital-people img {
    position: relative;
    top: 20px;
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 1px auto auto auto;
    cursor: pointer;
}

.capital-people .peole {
    margin-top: 25px;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
}



/* 显示借书还书超期功能 */
/* .book1 {
    display: block;
    width: 50px;
    height: 50px;
    background-color: #2dbff0;
} */

/* 修改用户信息 */
.reset {
    position: relative;
    top: 30px;
    width: 200px;
    height: 50px;
    margin-left: 50px;
    text-align: center;
    background-color: #2dbff0;
    border: none;
    color: #fff;
    cursor: pointer;
    backdrop-filter: saturate(180%) blur(2px);
    font-family: 'webfont';
    font-size: 18px;
}

.reset:hover {
    box-shadow: 0 5px 15px rgba(42, 167, 212, 0.8);
}

/* 遮盖层 */
.container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 遮盖层 */
.container-content {
    position: fixed;
    top: 5%;
    left: 50%;
    margin-left: -25%;
    width: 45%;
    height: 605px;
    min-width: 31.125rem;
    min-height: 18.625rem;
    /* background-color: white; */
    background-image: url(../imgs/imgs7.jpeg);
    border-radius: 15px;
    font-family: 'webfont';
    z-index: 2;
}

.content-title {
    float: left;
    width: 100px;
    height: 100%;
    writing-mode: tb-rl;
    text-align: center;
    line-height: 100px;
    font-size: 20px;
    border-radius: 5px;
    background: repeating-linear-gradient(to left, #CBC6A8, #BAA7A0);
    user-select: none;
}

/* 表单form */
.content-detail {
    width: 100%;
    height: 480px;
    margin: 20px auto auto 60px;
    font-size: 25px;
}

.displayid {
    display: none;
}

/* input显示框 */
.form-name {
    width: 293px;
    height: 90px;
    margin-left: 55px;
    line-height: 90px;
}

.form-name .form-control {
    height: 30px;
    outline: none;
    font-size: 16px;
    outline-style: none;
    border: 0px;
    background-color: rgba(0, 0, 0, 0);
    border-bottom: 0.5px solid rgba(155, 134, 127, .5);
    font-family: 'webfont';
}

/* 焦点 */
.form-control:focus {
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(155, 134, 127, .5), 0 0 8px rgba(155, 134, 127, .5);
    box-shadow: inset 0 1px 1px rgba(155, 134, 127, .15), 0 0 8px rgba(155, 134, 127, .25);
}

/* 弹框按钮 */
.decoration {
    position: relative;
    top: 5px;
    left: 87px;
    width: 100px;
    height: 50px;

    border: 0;
    outline: none;
    box-shadow: 0 2px 5px rgb(107, 96, 96);
    cursor: pointer;
}

/* 确认按钮 */
.determine {
    border-radius: 10px;
    background-color: rgb(56, 138, 231);
    font-family: 'webfont';
    font-size: 20px;
}

.determine:hover {
    background-color: rgb(23, 126, 244);
}

/* 取消按钮 */
.canle {
    border-radius: 10px;
    margin-left: 150px;
    background-color: rgb(134, 129, 129);
    font-family: 'webfont';
    font-size: 20px;
}

.canle:hover {
    background-color: rgb(157, 141, 141);
}

/* 退出按钮 */
.btn {
    position: relative;
    top: 30px;
    width: 200px;
    height: 50px;
    margin-top: 20px;
    margin-left: 50px;
    text-align: center;
    background-color: #2dbff0;
    border: none;
    color: #fff;
    cursor: pointer;
    backdrop-filter: saturate(180%) blur(2px);
    font-family: 'webfont';
    font-size: 18px;
}



.btn:hover {
    box-shadow: 0 5px 15px rgba(42, 167, 212, 0.8);
}

/* 遮盖层 */
.container4 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* 退出登录遮盖层 */
.container4-content4 {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 25%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    background-color: white;
    font-family: 'webfont';
    border-radius: 10px;
    z-index: 2;
}

.content4-detail {
    width: 100%;
    height: 200px;
    text-align: center;
    line-height: 200px;
    font-size: 25px;
    /* background-color: #2C2723; */
    user-select: none;
}

/* 弹框按钮 */
.decoration {
    position: relative;
    top: 40px;
    left: 90px;
    width: 100px;
    height: 50px;
    border: 0;
    outline: none;
    box-shadow: 0 2px 5px rgb(107, 96, 96);
    border-radius: 10px;
    cursor: pointer;
}

/* 确认按钮 */
.decide {
    background-color: rgb(56, 138, 231);
    font-family: 'webfont';
    font-size: 20px;
}

.decide:hover {
    background-color: rgb(23, 126, 244);
}

/* 取消按钮 */
.vanish {
    margin-left: 150px;
    background-color: rgb(134, 129, 129);
    font-family: 'webfont';
    font-size: 20px;
}

.vanish:hover {
    background-color: rgb(157, 141, 141);
}

/* 登录方式 */
.logs {
    width: 100%;
    height: 30px;
    margin-top: 45px;
}

.logs .log i {
    font-size: 24px;
    margin-left: 50px;
    line-height: 30px;
}

/* 三个图标颜色 */
.icon-shejiaotubiao-39 {
    color: #2dbff0;

}

.icon-weixin {
    color: #28C445;
}

.icon-github-fill {
    color: rgb(18, 17, 17);
}

/* 公告栏 */
.advice {
    width: 300px;
    height: 100px;
    margin-top: 20px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(143, 137, 137, 0.8);
    backdrop-filter: saturate(180%) blur(5px);
}

.advice p {
    line-height: 45px;
    text-align: center;
    color: rgb(231, 76, 76);
    /* font-weight: 700; */
    font-family: 'webfont';
    user-select: none;
}

.advice p .icon-laba {
    font-size: 25px;
    color: rgb(210, 210, 56);
}

/* 最新书籍 */
.newbook {
    width: 300px;
    height: 180px;
    margin-top: 20px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(143, 137, 137, 0.8);
    backdrop-filter: saturate(180%) blur(5px);
}

/* 最新书籍-题目 */
.topic {
    position: relative;
    top: 10px;
    font-size: 18px;
    text-align: center;
    font-family: 'webfont';
}

.types {
    width: 100%;
    height: 100%;
    margin-top: 17px;
    /* background-color: #44496f; */
}

.new-book1 {
    float: left;
    display: block;
    width: 70px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin-top: 20px;
    border-radius: 10px;
    margin-left: 23px;
    color: black;
    background-color: rgba(52, 117, 237, 0.6);
    font-family: 'webfont';
    /* background-color: rgba(255, 127, 245, .6); */
}

.books2 {
    background-color: rgba(255, 127, 245, .5);
}

.books3 {
    background-color: rgba(71, 228, 35, 0.6);
}

.books4 {
    background-color: rgba(225, 136, 59, 0.5);
}

.books5 {
    background-color: rgba(233, 236, 58, 0.4);
}

.books6 {
    background-color: rgba(222, 44, 50, 0.7);
}

/* 借书成功弹框 */
.container1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 2;
}

/* 遮盖层 */
.container1-content1 {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 10%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    /* background-color: white; */
    font-family: 'webfont';
    z-index: 2;
}

/* 借书成功 */
.content1-detail {
    width: 100%;
    height: 200px;
    margin-top: 150px;
    text-align: center;
    font-size: 20px;
    user-select: none;
}

.content1-detail p {
    color: rgb(17, 198, 17);
    width: 350px;
    position: absolute;
    top: -138px;
    margin-left: 90px;
    background-color: rgb(214, 246, 198);
}

/* 借书失败弹框 */
.container2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 2;
}

/* 遮盖层 */
.container2-content2 {
    position: fixed;
    top: 25%;
    left: 60%;
    margin-left: -25%;
    width: 10%;
    height: 20%;
    min-width: 31.125rem;
    min-height: 18.625rem;
    border-radius: .125rem;
    /* background-color: white; */
    font-family: 'webfont';
    z-index: 2;
}

/* 借书失败 */
.content2-detail {
    width: 100%;
    height: 200px;
    margin-top: 150px;
    text-align: center;
    font-size: 20px;
    user-select: none;
}

.content2-detail p {
    color: rgb(144, 147, 153);
    width: 350px;
    position: absolute;
    top: -138px;
    margin-left: 90px;
    background-color: rgb(219, 219, 227);
}

/* 右边功能 */
.captical-funtion {
    position: relative;
    width: 850px;
    height: 1000px;
    margin-left: 20px;
    /* background-color: blueviolet; */
}

.captical-funtion .function1 {
    width: 850px;
    height: 250px;
    /* margin-left: 25px; */
    /* margin-top: -147px; */
    margin: auto;
    background-color: rgb(246, 245, 245);
    box-shadow: 0 5px 15px rgba(143, 137, 137, 0.8);
    backdrop-filter: saturate(180%) blur(2px);
    border-radius: 15px;
}

/* 功能盒子 */
.function1-content {
    float: right;
    width: 550px;
    height: 250px;
    /* background-color: #28C445; */
}

/* 功能-藏书阁 */
.function1 .function-novel {
    height: 250px;
    margin-left: 10px;
    text-align: center;
    line-height: 250px;
    display: block;
    font-size: 35px;
    color: rgb(24, 12, 12);
    font-family: 'webfont';
    /* background-color: #28C445; */
}

.function1 .function-novel:hover {
    color: #44496f;
}


.captical-funtion .function2 {
    width: 850px;
    height: 250px;
    margin-top: 25px;
    background-color: rgb(246, 245, 245);
    box-shadow: 0 5px 15px rgba(143, 137, 137, 0.8);
    backdrop-filter: saturate(180%) blur(2px);
    border-radius: 15px;
}

/* 功能盒子2 */
.function2-content {
    /* float: right; */
    width: 550px;
    height: 250px;
}

/* 功能-借书证 */
.function2-content .function-novel2 {
    text-align: center;
    line-height: 250px;
    display: block;
    color: rgb(24, 12, 12);
    font-size: 35px;
    font-family: 'webfont';
    /* background-color: #28C445; */
}

.function2-content .function-novel2:hover {
    color: #44496f;
}

/* 功能图片 */
.imgs1 {
    float: left;
    overflow: hidden;
    width: 300px;
    height: 100%;
    border-radius: 15px;
}

.imgs2 {
    float: right;
    overflow: hidden;
    width: 300px;
    height: 100%;
    border-radius: 15px;
}

/* 图片放大 */
.photo1 {
    width: 300px;
    height: 100%;
    border-radius: 15px;
    cursor: pointer;
}

.photo1:hover {
    animation: move .5s linear forwards;
}

@keyframes move {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.big-tip {
    display: none;
    width: 406px;
    height: 297px;
    position: fixed;
    top: 30%;
    left: 38%;
    border-radius: 5px;
    background: linear-gradient(to left,rgb(181,175,150),#faffd1);
    z-index: 2;
}

.outTip {
    position: fixed;
    top: 30%;
    left: 38%;

}

.outTip p {
    height: 100%;
    width: 406px;
    line-height: 96px;
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: rgba(207, 19, 19, .7);
    user-select: none;
}


.dataTip {
    display: inline-block;
    position: absolute;
    width: 406px;
    top: 73px;
    height: 69px;
    text-align: center;
    color:#005aa7;
}

.certain {
    margin-left: 173px;
    position: relative;
    top: 153px;
    width: 55px;
    height: 35px;
    outline: none;
    outline-style: none;
    border: 0px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    background-color: rgba(21, 69, 153, .4);
}

.certain:hover {
    background-color: rgba(21, 69, 153, .8);
}